package com.xmy.cultivate.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum StatusSchedulingEnum {
    //是否记上课
    NO(0,"未记录"),
    ON(1,"已记录"),
    STOP(2,"暂停");


    @EnumValue
    private Integer key;

    @JsonValue
    private String value;

    StatusSchedulingEnum(Integer key, String value){
        this.key = key;
        this.value = value;
    }
}
